home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7395 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: newsfeed.direct.ca!usenet
  2. From: myles lu <idlu@direct.ca>
  3. Newsgroups: comp.lang.c++
  4. Subject: file comparison lists
  5. Date: Thu, 22 Feb 1996 19:35:56 -0800
  6. Organization: Internet Direct
  7. Message-ID: <312D361C.2793@direct.ca>
  8. NNTP-Posting-Host: 204.174.251.11
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (Win16; I)
  13.  
  14. I'm myles, a high school student at DTSS in vancouver bc
  15. i'm a semi-intermediate programmer.  i have a question about a project i 
  16. need to do...
  17.  
  18. i want to do something like this:    let's say i have five
  19. file lists.  they're simply text files in five different directories that 
  20. list all the files in that directory sort of like below.  accompanied on 
  21. the same line is a description. (much like a file list for a bbs)
  22.  
  23. autoexec.bat        startup file
  24. myhomwrk.txt        chemistry notes...
  25. essay.001        eng. essay
  26. ...            ...
  27.  
  28. and so on.  so i need to set up a procedure(s) that can compare the five 
  29. files for duplications.  my teacher will have five directories some with 
  30. duplicate files.  assumming that the file list file is correct i am to 
  31. cross check and then ask the user which one to delete.
  32. then also i'm supposed to update the file list just in case there may be 
  33. some files that didn't make it on the list.
  34.  
  35. should i load everything into an array???  how should i approach this?
  36. any suggestions?  thanx.  do you know of any good educational C++ sites 
  37. that might assist me?
  38.  
  39. thanx again
  40.  
  41. -- 
  42. from Myles Lu
  43. c/o email: idlu@direct.ca
  44.